package com.blog.cmrpersonalblog.dto.comment.request;

import lombok.Data;

import jakarta.validation.constraints.NotNull;

/**
 * 评论点赞请求DTO
 */
@Data
public class CommentLikeRequest {

    /**
     * 评论ID
     */
    @NotNull(message = "评论ID不能为空")
    private Long commentId;

    /**
     * 点赞状态：true-点赞，false-取消点赞
     */
    @NotNull(message = "点赞状态不能为空")
    private Boolean liked;
}
